package com.springboot.blog.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.springboot.blog.beans.BlogLog;
import com.springboot.blog.beans.BlogOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderDao extends BaseMapper<BlogOrder> {

    //订单分页根据用户名查询
    List<BlogOrder> queryOrderForItems(@Param(value = "begin") int begin, @Param(value = "pageSize") Integer pageSize,String orderUsername);

    int AllselectOrderByName(String orderUsername);
}
